package com.wpp.basespringboot.reposityory;

import com.wpp.basespringboot.po.ResumePOJO;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * @author wpp25
 * @date 2021/6/21 22:13
 */
public interface ResumeMapper extends MongoRepository<ResumePOJO,String> {

    List<ResumePOJO> findByNameEquals(String name);

    List<ResumePOJO> findByNameAndExpectSalary(String name,double salary);
}
